var n = getApp();

Page({
    data: {},
    onLoad: function(n) {
        this.getdata();
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getdata: function() {
        var t = this, o = n.getNetAddresss("plugin.auction.api.index.getAuctionData");
        n._postNetWork({
            url: o,
            data: {
                art: "collectionList"
            },
            success: function(n) {
                var o = n.data;
                1 == o.result ? (console.log(o), t.setData({
                    info: o.data.auctioneer
                })) : wx.showToast({
                    title: o.msg,
                    icon: "none",
                    duration: 1e3
                });
            },
            fail: function(n) {
                console.log(n);
            }
        });
    }
});